package com.example.grpc.consume.service;

import com.example.grpc.consume.model.dto.CompanyDto;
import com.example.grpc.consume.model.dto.UserDto;

import java.util.List;
import java.util.Map;

/**
 * @author liyuncong
 * @version 1.0
 * @file UserService
 * @brief UserService
 * @details UserService
 * @date 2022-11-20
 *
 * Edit History
 * ----------------------------------------------------------------------------
 * DATE                     NAME               DESCRIPTION
 * 2022-11-20               liyuncong          Created
 */
public interface UserService {
    List<UserDto> findAllByCompany(CompanyDto companyDto);

    Boolean register(CompanyDto companyDto, List<UserDto> userDtos);

    List<UserDto> findAllUsers();
}
